package com.vlong.town.entity.place;

import java.io.Serializable;

/**
 * @author Assassin
 */
public class Place implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long placeId;// 主键
	private Long townId;// 村镇Id
	private Integer placeType;// 场所类型
	private String title;// 场所名称
	private String intro;// 场所简介
	private String placeDesc;// 场所描述
	private Integer isDel;// 数据状态[1-删除,0不删数]
	private Integer status;// 业务状态
	private String address;// 场所地址
	private Float lng;// 经度
	private Float lat;// 纬度
	private Long createTime;// 创建时间
	private Long updateTime;// 修改时间
	
	// Empty Constructor
	public Place() {
		super();
	}
	
	// Full Constructor
	public Place(Long placeId, Long townId, Integer placeType, String title,String intro, String placeDesc, Integer isDel, Integer status, String address, Float lng, Float lat, Long createTime, Long updateTime) {
		this.placeId =  placeId;
		this.townId =  townId;
		this.placeType =  placeType;
		this.title =  title;
		this.intro =  intro;
		this.placeDesc =  placeDesc;
		this.isDel =  isDel;
		this.status =  status;
		this.address =  address;
		this.lng =  lng;
		this.lat =  lat;
		this.createTime =  createTime;
		this.updateTime =  updateTime;
	}

	// Property accessors

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Long getPlaceId () {
		return this.placeId;
	}
	
	public void setPlaceId (Long placeId) {
		this.placeId =  placeId;
	}
	
	public Long getTownId () {
		return this.townId;
	}
	
	public void setTownId (Long townId) {
		this.townId =  townId;
	}
	
	public Integer getType () {
		return this.placeType;
	}
	
	public void setType (Integer placeType) {
		this.placeType =  placeType;
	}
	
	public String getTitle () {
		return this.title;
	}
	
	public void setTitle (String title) {
		this.title =  title;
	}
	
	public String getPlaceDesc () {
		return this.placeDesc;
	}
	
	public void setPlaceDesc (String placeDesc) {
		this.placeDesc =  placeDesc;
	}
	
	public Integer getIsDel () {
		return this.isDel;
	}
	
	public void setIsDel (Integer isDel) {
		this.isDel =  isDel;
	}
	
	public Integer getStatus () {
		return this.status;
	}
	
	public void setStatus (Integer status) {
		this.status =  status;
	}
	
	public String getAddress () {
		return this.address;
	}
	
	public void setAddress (String address) {
		this.address =  address;
	}
	
	public Float getLng () {
		return this.lng;
	}
	
	public void setLng (Float lng) {
		this.lng =  lng;
	}
	
	public Float getLat () {
		return this.lat;
	}
	
	public void setLat (Float lat) {
		this.lat =  lat;
	}
	
	public Long getCreateTime () {
		return this.createTime;
	}
	
	public void setCreateTime (Long createTime) {
		this.createTime =  createTime;
	}
	
	public Long getUpdateTime () {
		return this.updateTime;
	}
	
	public void setUpdateTime (Long updateTime) {
		this.updateTime =  updateTime;
	}
	
	@Override
	public String toString () {
		StringBuffer entityStirngBuffer = new StringBuffer();
		entityStirngBuffer.append("placeId = " +  this.getPlaceId() + ",");
		entityStirngBuffer.append("townId = " +  this.getTownId() + ",");
		entityStirngBuffer.append("placeType = " +  this.getType() + ",");
		entityStirngBuffer.append("title = " +  this.getTitle() + ",");
		entityStirngBuffer.append("intro = " +  this.getIntro() + ",");
		entityStirngBuffer.append("placeDesc = " +  this.getPlaceDesc() + ",");
		entityStirngBuffer.append("isDel = " +  this.getIsDel() + ",");
		entityStirngBuffer.append("status = " +  this.getStatus() + ",");
		entityStirngBuffer.append("address = " +  this.getAddress() + ",");
		entityStirngBuffer.append("lng = " +  this.getLng() + ",");
		entityStirngBuffer.append("lat = " +  this.getLat() + ",");
		entityStirngBuffer.append("createTime = " +  this.getCreateTime() + ",");
		entityStirngBuffer.append("updateTime = " +  this.getUpdateTime() + ",");
		return entityStirngBuffer.toString();
	}
	
}